package com.lizhenhua.api.feignClient;


import com.lizhenhua.api.follback.OrderSubmitFollBack;
import com.lizhenhua.fmmall.beans.Users;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "user-check", fallback = OrderSubmitFollBack.class)
public interface OrderSubmitFeignClient {

    @GetMapping("/user/check")
    Users checkUser(@RequestParam("username") String username);

}
